<?php
	/**
	 * Class to set places attributes
	 */
	class Place {
		private $type;
		private $name;
		private $fkIdPlace;
		
		/**
		 * Constructor of the place
		 */
		public function __construct($type, $name) {
			$this -> type = $type;
			$this -> name = $name;
		}
		
		/**
		 * Getter and setter for attribute $type
		 */
		public function setType($type) {
			$this -> type = $type;	
		}
		
		public function getType() {
			return $this -> type;	
		}
		
		/**
		 * Getter and setter for attribute $name
		 */
		public function setName($name) {
			$this -> name = $name;	
		}
		
		public function getName() {
			return $this -> name;	
		}
		
		/**
		 * Getter and setter for attribute $fkIdPlace
		 */
		public function setFkIdPlace($fkIdPlace) {
			$this -> fkIdPlace = $fkIdPlace;	
		}
		
		public function getFkIdPlace() {
			return $this -> fkIdPlace;	
		}
	}
?>